//
//  CYNetworkCommonArguments.m
//  TestNetWorkDemo
//
//  Created by lc4y on 2018/2/22.
//  Copyright © 2018年 lc4y. All rights reserved.
//

#import "CYNetworkCommonArguments.h"

@implementation CYNetworkCommonArguments

+ (CYNetworkCommonArguments *)shareCommonArguments {
    static dispatch_once_t onceToken;
    static CYNetworkCommonArguments *shareCommonArgu = nil;
    dispatch_once(&onceToken, ^{
        shareCommonArgu = [[CYNetworkCommonArguments alloc] init];
    });
    
    return shareCommonArgu;
}

- (void)addCommonArguments:(NSDictionary *)commonArgu delegate:(id<CYNetworkCommonArgumentsDelegate>)delegate {
    self.commonArguments = commonArgu;
    self.delegate = delegate;
}

@end
